<?php


namespace app\mall\exceptions;

class GoodsException extends BaseException
{
    static $notFound = [40001, '商品不存在'];
    static $notUpper = [40002, '商品未上架'];
    static $outOffStock = [40003, '商品库存不足'];
    static $errorStock = [40004, '商品库存错误'];
    static $priceError = [40005, '商品价格量错误'];
    static $userBuyNumError = [40020, '商品购买数量错误'];

}